<?php
   include "connect.php";
  
   $badgedata = $_POST['badgedata'];
   $badgedata  = explode(',', $badgedata[0]);
   $status =  $badgedata[5];
   $indie_con =	 $badgedata[4];
       	mysqli_query($con, "UPDATE badge_id SET status = '$status' WHERE id = '1' ");
		mysqli_query($con, "UPDATE badge_id SET indie_con = '$indie_con' WHERE id = '1' ");
require_once(dirname(__FILE__) . "/pr_indie_con.php");
		
?>